notEmpty

open fun notEmpty(value: String)

test if a string lengths is not empty

Parameters

value

value to test

Throws

when value is outside min … max


open fun notEmpty(value: String, name: String)

test if a string lengths is not empty

Parameters

value

value to test

name

value name for better error message

Throws

when value is outside min … max